﻿namespace MiniJob.Jobs;

/// <summary>
/// Http参数
/// </summary>
public class HttpParams
{
    public HttpMethod Method { get; set; }

    public string Url { get; set; }

    public string MediaType { get; set; }

    public string Body { get; set; }

    public Dictionary<string, string> Headers { get; set; }

    /// <summary>
    /// 超时时间，默认为1分钟
    /// </summary>
    public TimeSpan Timeout { get; set; } = TimeSpan.FromMinutes(1);
}
